Skip to content

feat: Rich contextual status for squad agents (#73)#80

Merged
csharpfritz merged 2 commits intomainfrom
squad/73-active-status-redesign
Feb 26, 2026
Merged

feat: Rich contextual status for squad agents (#73)#80
csharpfritz merged 2 commits intomainfrom
squad/73-active-status-redesign

Conversation

@csharpfritz
Copy link
Owner

Summary

Closes #73 · Closes #67

Working as Rusty (Extension Dev) — this is a P0 feature for v1.0.0.

Replaces the previously parked binary idle/active status with rich contextual status that shows what each agent is currently doing, not just whether they're active.

What Changed

Models (src/models/index.ts)

  • Extended MemberStatus: 'working-on-issue' | 'reviewing-pr' | 'waiting-review' | 'working' | 'idle'
  • Added isActiveStatus() helper — use this instead of === 'working' checks
  • Added ActivityContext interface: { description, shortLabel, issueNumber?, prNumber? }
  • Added activityContext? to SquadMember and TeamMemberOverview

OrchestrationLogService

  • New getMemberActivity() method — parses log entries to derive per-member activity context:
    • Detects issue work from relatedIssuesworking-on-issue
    • Detects PR review from description patterns → reviewing-pr
    • Detects waiting state → waiting-review
    • Falls back to generic working when no specific context available
  • Original getMemberStates() preserved for backward compatibility

UI Surfaces

Surface Before After
Tree icon All members: person Active: sync~spin (green), Idle: person
Tree description Role • N issues Role • ⚙️ Issue #42 • N issues
Tree tooltip Name + Role Name + Role + Status + Context description
Dashboard cards No status Status badge below name (e.g., "⚙️ Issue #42")
Dashboard summary Members, Open, Closed, In Progress + Working count
Status bar Squad: N members Squad: 3/5 working (or N members if none active)
Work details Name + Role + Activity context shortLabel

Tests

  • Updated 8 test files to accept rich status values
  • All 1093 tests passing (was 1056 — test count increased due to renamed/split tests)

Acceptance Criteria

  • ✅ Status shows what the agent is currently doing, not just active/idle
  • ✅ Tree view shows abbreviated status with full details on hover
  • ✅ Dashboard shows full contextual status per member
  • ✅ Falls back gracefully when no recent activity is detected (shows "—")

csharpfritz and others added 2 commits February 23, 2026 15:16
Add pure service-layer search, date filtering, and author filtering
for parsed decisions. Designed for tree view integration (Rusty follow-up).

- DecisionSearchService with search(), filterByDate(), filterByAuthor(), filter()
- Relevance ranking: title (10x) > author (5x) > content (3x)
- DecisionSearchCriteria and ScoredDecision interfaces exported
- 37 comprehensive tests covering all methods and edge cases
- Decision inbox entry for team awareness

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace binary idle/active status with rich contextual status showing what
each agent is currently doing (e.g., ' Working on Issue #42',
' Reviewing PR #15').

Changes:
- Extend MemberStatus: working-on-issue | reviewing-pr | waiting-review | working | idle
- Add ActivityContext interface and isActiveStatus() helper
- New OrchestrationLogService.getMemberActivity() parses context from logs
- Tree view: sync~spin icon for active members, status in description + tooltip
- Dashboard: status badge on member cards, 'Working' summary card restored
- Status bar: shows working/total count when members are active
- Work details webview: shows activity context in assigned-to card

Closes #73
Closes #67

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@csharpfritz csharpfritz merged commit 2c9588b into main Feb 26, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Active Status Redesign rich context status for squad agents VSCode Copilot Chat: Squad subagents progress shows as Idle when it's actually doing work

1 participant